<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<script>
document.write("<form action='${ctx}/login/redirect/login' method='post' name='form'></form>");
document.form.submit();
</script>